package cn.zhaoyuening.fanblog.common.domain;

import javax.persistence.*;

/**
 * Created by Buynow on 2017/8/17.
 */
@Entity
public class ArticleTag {
    @Id
    private String name;
    //文章数量
    @Column(columnDefinition = "INT default 0")
    private Long count;


    public String getName() {
        return name;
    }

    public ArticleTag setName(String name) {
        this.name = name;
        return this;
    }

    public Long getCount() {
        return count;
    }

    public ArticleTag setCount(Long count) {
        this.count = count;
        return this;
    }
}
